package com.duruikang.LeaveAPI.form;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author szh
 */
@Data
public class ExamineForm {

    /**
     * 用户登录信息
     */
    @NotNull
    private String token;

    /**
     * 请假单id
     */
    @NotNull
    @Length(min = 36, max = 36)
    private String leavingId;

    /**
     * 审批结果
     */
    @NotBlank
    private String examineResult;

    /**
     * 审批意见，字符串如：同意/不同意
     */
    private String examineComment;
}
